<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<div class="background" id="web_bg"> 
		<img style="position: cover;" Border="0" src="图书馆.jpg" height="100%"
		width="100%" />
	</div>
<style type="text/css"> 
.background{
 position: absolute;  
width: 100%;  
 height: 100%; 
  z-index: -1; 
 } 
 
</style>
<script language="javascript">
var secs = 3; //倒计时的秒数 
var URL ;
function Load(url){
URL = url;
for(var i=secs;i>=0;i--) 
{ 
   window.setTimeout('doUpdate(' + i + ')', (secs-i) * 1000); 
} 
}
function doUpdate(num) 
{ 
document.getElementById('ShowDiv').innerHTML = '&nbsp;&nbsp;&nbsp;&nbsp;'+'将在'+num+'秒后自动跳转到主页';
if(num == 0) { window.location = URL; }
}
</script>
<base
	href="<%=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/" %>" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<!--<script type="text/javascript" src=""></script><link href="" type="text/css" rel="stylesheet" />-->
</head>
<%
    String studentnumber=new
    String(request.getParameter("studentnumber").getBytes("UTF-8"),"UTF-8");
    String realname=new
    String(request.getParameter("realname").getBytes("ISO-8859-1"),"UTF-8");
    String phone=new
    String(request.getParameter("phone").getBytes("UTF-8"),"UTF-8");
    String email=new
    String(request.getParameter("email").getBytes("UTF-8"),"UTF-8");
%>

<body onload="Load('LoginIndex.jsp')">
	<center>
	<div >
		<h1>学生信息</h1>
		<table width="400" height="130" border="1" align="center"
			cellpadding="1" cellspacing="1">
			<br></br>
			<tr>
				<td><font size="5pt">&nbsp;注册成功！请保存好您的资料！！</font>
					<hr>
					<table 
						align="center">
						<tr>
							<td>您的学号：</td>
							<td><%=studentnumber %></td>
						</tr>

						<tr>
							<td>您的真实姓名：</td>
							<td><%=realname %></td>
						</tr>
						<tr>
							<td>您的电话号码：</td>
							<td><%=phone %></td>
						</tr>
						<tr>
							<td>您的电子邮箱：</td>
							<td><%=email %></td>
						</tr>
						
					</table>
					<div id="ShowDiv"></div>
				</td></tr>
				
		</table>	</div>
	</center>
</body>
</html>